<style type="text/css">
			#wrap{
				padding: 20px;
			}
			#form  .formDiv{
				margin-bottom: 22px;
			}
			.formDiv label{
				font-size: 14px;
				color: #333;
				width: 120px;
				text-align: right;
				display: inline-block;
				margin-right: 10px;
				white-space: pre;
			}
			.formDiv input,.formDiv select{
				width: 200px;
				height: 30px;
				border: 1px solid #e8e8e8;
				font-size: 12px;
				color: #666;
				outline: none;
				padding-left: 10px;
			}
			.formDiv select{
				height: 32px;
				width: 202px;
			}
			#edui1{
				/*width: 100% !important;*/
				min-height: 500px;
			}

		</style>
		<div id="wrap">

			<form id="form" action="update" method="post"  enctype="multipart/form-data" >

				#if(id.equals("1") || id.equals("2") || id.equals("3") || id.equals("4"))

				<div class="formDiv">
				    <label>头像：</label> <input class="easyui-filebox theme-textbox-radius" name="icon" style="width: 200px;"
													 data-options="prompt:'请选择图标',accept:'image/png,image/jpeg,image/jpg',buttonIcon:'icon-folder-search',buttonText:''" >
				</div>
				<input type="hidden" name="u_id" value="#(id??)">
				<input type="hidden" name="id" value="#(li.id??)">
				<input type="hidden" name="is" id="is" value="#(li.image??)">
				<div class="formDiv">
					<label></label><img src="#(li.image??)" height="70px" width="70px">
				</div>
				<div class="formDiv">
					<label>渠道名称：</label><input class="easyui-textbox" required="required" type="text" name="ID" id="ID" value="#(li.image_name??)" />
				</div>
				<div class="formDiv">
					<label>贷款额度：</label><input class="easyui-textbox" required="required" type="text" name="limit" id="limit" value="#(li.limit??)" />
				</div>
				<div class="formDiv">
					<label>贷款利率：</label><input class="easyui-textbox" required="required" type="text" name="nickname" id="nickname" value="#(li.interest??)" />
				</div>
				<div class="formDiv">
					<label>批款速度：</label><input class="easyui-textbox" required="required" type="text" name="name" id="name" value="#(li.speed??)" />
				</div>
				<div class="formDiv">
					<label>贷款期限：</label><input class="easyui-textbox" required="required" type="text" name="tel" id="tel" value="#(li.deadline??)" />
				</div>
				<div class="formDiv">
					<label>还款方式：</label><input class="easyui-textbox" required="required" type="text" name="createTime" id="createTime" value="#(li.repayment??)" />
				</div>
				<div class="formDiv">
					<label>产品类型：</label><input class="easyui-combobox" required="required" name="state" value="#(li.product??)" data-options="valueField: 'label',textField: 'value',data: [{label: '信用贷款',value: '信用贷款'},{label: '额度贷款',value: '额度贷款'}]" />
				</div>

				<label>申请条件：</label>
				<textarea id="container" name="content" >#(li.requirement??)</textarea>
				<!-- 实例化编辑器 -->
				<script type="text/javascript">
                    var ue = UE.getEditor('container');

                    //对编辑器的操作最好在编辑器ready之后再做
                    ue.ready(function() {
                        //获取html内容，返回: <p>hello</p>
                        var html = ue.getContent();
                        //获取纯文本内容，返回: hello
                        var txt = ue.getContentTxt();
                    });
				</script>
				#elseif(id.equals("101") || id.equals("102") || id.equals("103") || id.equals("104") || id.equals("105"))

					<input type="hidden" name="u_id" value="#(id??)">
					<input type="hidden" name="id" value="#(li.id??)">
					<input type="hidden" name="is"  value="#(li.img??)">
					#if(on_off!="off")
					<div class="formDiv">
						<label>文章配图：</label> <input class="easyui-filebox theme-textbox-radius" name="icon" style="width: 200px;"
													data-options="prompt:'请选择图标',accept:'image/png,image/jpeg,image/jpg',buttonIcon:'icon-folder-search',buttonText:''">
					</div>
					#end
				<div>
					#if(on_off!="off")
					<label></label><img style="margin-left:135px" src="#(li.img??)" height="70px" width="70px">
					#end
					<div>
						<div class="formDiv">
							<label>文章标题：</label><input class="easyui-textbox" required="required" type="text" name="ID"  value="#(li.headline??)" />
						</div>
						<div class="formDiv">
							<label>来源：</label><input class="easyui-textbox" required="required" type="text" name="nickname"  value="#(li.source??)" />
						</div>
						<div class="formDiv">
							<label>作者：</label><input class="easyui-textbox" required="required" type="text" name="limit"  value="#(li.author??)" />
						</div>
					</div>
				</div>
					<label>内容：</label>

				<textarea id="container"  name="content" >#(li.content??)</textarea>
				<!-- 实例化编辑器 -->
				<script type="text/javascript">
                    var ue = UE.getEditor('container');

                    //对编辑器的操作最好在编辑器ready之后再做
                    ue.ready(function() {
                        //获取html内容，返回: <p>hello</p>
                        var html = ue.getContent();
                        //获取纯文本内容，返回: hello
                        var txt = ue.getContentTxt();
                    });
				</script>
				#elseif(id.equals("100"))

					<input type="hidden" name="u_id" value="#(id??)">
					<input type="hidden" name="id" value="#(li.id??)">
					<input type="hidden" name="is"  value="#(li.image??)">
				<div class="formDiv">
					<label>图片：</label> <input class="easyui-filebox theme-textbox-radius" name="icon" style="width: 200px;"
												data-options="prompt:'请选择图标',accept:'image/png,image/jpeg,image/jpg',buttonIcon:'icon-folder-search',buttonText:''">
				</div>
					<label></label><img style="margin-left:135px" src="#(li.image??)" height="150px" width="750px">
				<div>
					<div class="formDiv">
						<label>链接：</label><input class="easyui-textbox" required="required" type="text" name="ID"  value="#(li.link??)" />
					</div>
				</div>

				#elseif(id.equals("106"))

					<input type="hidden" name="u_id" value="#(id??)">
					<input type="hidden" name="id" value="#(li.id??)">
					<input type="hidden" name="is"  value="#(li.image??)">
					<div class="formDiv">
						<label>图片：</label> <input class="easyui-filebox theme-textbox-radius" name="icon" style="width: 200px;"
													data-options="prompt:'请选择图标',accept:'image/png,image/jpeg,image/jpg',buttonIcon:'icon-folder-search',buttonText:''">
					</div>
					<label></label><img style="margin-left:135px" src="#(li.image??)" height="150px" width="750px">
					<div>
						<div class="formDiv">
							<label>图片描述：</label><input class="easyui-textbox" required="required" type="text" name="title"  value="#(li.title??)" />
						</div>
						<div class="formDiv">
							<label>链接：</label><input class="easyui-textbox" required="required" type="text" name="ID"  value="#(li.link??)" />
						</div>
					</div>

				#end
				</form>
			</div>




